package ace.module.oauth2.server.core.impl.manager;

import ace.cmp.data.spring.data.jdbc.querydsl.rsql.core.manager.DtoManager;
import ace.module.oauth2.server.api.model.dto.Oauth2RegisteredClientDto;
import ace.module.oauth2.server.core.impl.dao.entity.Oauth2RegisteredClient;

/**
 * oauth2 客户端 spring data jdbc querydsl rsql manager.
 *
 * @author Caspar
 */
public interface Oauth2RegisteredClientManager extends DtoManager<Oauth2RegisteredClient, String, Oauth2RegisteredClientDto> {

  String save(Oauth2RegisteredClient oAuth2RegisteredClient);

  Oauth2RegisteredClientDto getDtoByClientId(String clientId);
}
